/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.fd.domain.req.folder;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
/**
 *
 *
 * @author ssl
 * @date 2021-1-23
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListFolderRequest {

	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	@NotNull
	private String folderName;

	/**
	 * 上级文件夹Id
	 */
	private Long parentFolderId;

	/**
	 * 知识库Id
	 */
	private Long repositoryId;

	/**
	 * 文件等级
	 */
	private Integer documentLevel;

	/**
	 * 文件属性
	 */
	private String documentProperty;

	/**
	 * 文件编号
	 */
	private String documentCode;
}
